package com.mysoft.gfyx.marketdevelop.controller;

import com.mysoft.framework.common.util.MappingUtil;
import com.mysoft.framework.rpc.annotation.PubAction;
import com.mysoft.framework.rpc.annotation.PubService;
import com.mysoft.framework.rpc.contants.RequestPrefix;
import com.mysoft.gfyx.marketdevelop.controller.dto.FollowClueResponseDto;
import com.mysoft.gfyx.marketdevelop.remoteService.RemoteClueService;
import com.mysoft.gfyx.marketdevelop.remoteService.dto.AddClueRequestDto;
import com.mysoft.gfyx.marketdevelop.service.dto.label.LabelApplicationSettingDto;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMethod;

@PubService(value = "/marketClueDataApi", prefix = RequestPrefix.API)
@Tag(name = "市场线索-API")
public class MarketClueDataApiController {

    @Autowired
    RemoteClueService remoteClueService;

    @PubAction(value = "/followClue")
    public FollowClueResponseDto followClue(@RequestBody AddClueRequestDto request) {
        return remoteClueService.followClue(request);
    }

}
